package com.example.secondassignment;

public class CountryVisited {
	
	private int year;
	private long id;
	private String country;

	public long		getId() { return id; }
	public void 	setId(long id) { this.id = id; }
	
	public int		getYear() { return year; }
	public void 	setYear(int year) { this.year = year; }
	
	public String 	getCountry() { return country; }
	public void 	setCountry(String country) { this.country = country; }
	
	  
	@Override
	public String toString() {
		return year+" : "+country;
	}
}
